package cn.tedu.product.config;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

@Configuration
// Mybatis框架扫描mapper包接口的注解
@MapperScan("cn.tedu.product.mapper")
@Slf4j
public class MybatisConfiguration {
    public MybatisConfiguration() {
        log.info("加载配置类：MybatisConfiguration");
    }

}
